package net.lainiao.mycost.dao;

import net.lainiao.mycost.bean.UserInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/3/22.
 */
@Repository
public interface IUserInfoDAO {
    int add(UserInfo info);

    int update(UserInfo userInfo);

    UserInfo getUser(UserInfo userInfo);

    List<UserInfo> list(UserInfo info);

    long getCount(UserInfo userInfo);

    UserInfo login(UserInfo userInfo);
}
